Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dropbox and STATA

    Hello everyone,

    thanks in advance for replying. I have a problem with directories. I am not really good in dealing with dropbox, but actually have a project in which I make wide use of it. The problem is that when I try to import a dataset inside the dropbox folder in STATA, STATA comes up with such an error message:

    file /Users/federiconutarelli 1/Dropbox/us_retail_copia/DATi US\US retail.csv not found

    Am I doing something wrong?

    Thanks,

    Federico

  • #2
    If your file or directory address has spaces, the address should be enclosed in double quotes. e.g
    Code:
    "/Users/federiconutarelli 1/Dropbox/us_retail_copia/DATi US\US retail.csv"
    Second, I do not see the full address with drive letter, Shouldn't it be like
    Code:
    "C:/Users/federiconutarelli 1/Dropbox/us_retail_copia/DATi US\US retail.csv"
    if the DropBox is installed in drive C
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

    Comment


    • #3
      If Attaullah's suggestions don't work, show us the actual command you used and how Stata responded. When we don't actually see the command and output it is much harder to diagnose the problem.
      -------------------------------------------
      Richard Williams, Notre Dame Dept of Sociology
      StataNow Version: 19.5 MP (2 processor)

      EMAIL: [email protected]
      WWW: https://www3.nd.edu/~rwilliam

      Comment


      • #4
        Thank you for the replies.
        Actually to worked but it seems that the mistake was in the slashes. I mean when I put
        Code:
        "/Users/federiconutarelli 1/Desktop/Dropbox/DATi_US/   
         US retail.csv  
         "
        everything worked fine. Many thanks again for the great suggestions!

        Comment

        Working...
        X