Hi thanks for your answer on stackoverflow...but am not amazingly keen on having to load an *.RData file to collect the token info, is there a way that all the data can be held in .Rprofile as I think this would produce a much cleaner solution...I tried replicating the output of dropbox_auth() and saving that in .Rprofile but have come across errors. I.e. i included new options for OAuthKey and OAuthSecret which would be called when creating an DropboxCredentials object within a function, but it doesn't seem to work for some reason... here is the function I am using...
the dc object should be replicating the output of dropbox_auth() but using static data generated from previously running the function.
Also I saw your commits for the db.read.csv function...for some reason the unserialize part doesnt work for me so I prefer using read.csv(textConnection(file)) as shown in my function...
Hi thanks for your answer on stackoverflow...but am not amazingly keen on having to load an
*.RData
file to collect the token info, is there a way that all the data can be held in .Rprofile as I think this would produce a much cleaner solution...I tried replicating the output ofdropbox_auth()
and saving that in .Rprofile but have come across errors. I.e. i included new options forOAuthKey
andOAuthSecret
which would be called when creating an DropboxCredentials object within a function, but it doesn't seem to work for some reason... here is the function I am using...the
dc
object should be replicating the output ofdropbox_auth()
but using static data generated from previously running the function.Also I saw your commits for the
db.read.csv
function...for some reason theunserialize
part doesnt work for me so I prefer usingread.csv(textConnection(file))
as shown in my function...