6
$\begingroup$

I have a Mathematica file in my Google drive. There is no option to open the Mathematica file directly, without downloading it.

Is it possible to directly open the file from Google drive?

$\endgroup$
8
$\begingroup$

If you have a public link, you can follow the answer to this question, and basically just import the data

Import[url, "Data"]

If you need to authenticate to get a private link, then you will need this answer and the packlet by @b3m2a1

PacletInstall[
  "ServiceConnection_GoogleDrive", 
  "Site" -> 
   "http://www.wolframcloud.com/objects/b3m2a1.paclets/PacletServer"
  ];

gd = ServiceConnect["GoogleDrive"]
$\endgroup$
  • $\begingroup$ The OP seems to ask how to open the file with a web app — "without downloading it". And Import does download, I suppose (although you might not find the resulting file on your file system). $\endgroup$ – Ruslan Aug 13 '18 at 14:50
  • 3
    $\begingroup$ @Ruslan well something or another would get downloaded no matter what. Thats the way web works. $\endgroup$ – joojaa Aug 13 '18 at 15:18
  • 1
    $\begingroup$ @joojaa I would not consider the same fetching a file and opening it in a dedicated web app directly from GD. The more that there is also a WolframCloud where you can work with notebooks without fetching them. My interpretation of the question was the same as Ruslan's, does not mean we are right though, let's wait for OP. p.s. I think the answer is no. $\endgroup$ – Kuba Aug 14 '18 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.