ktisha / TheRPlugin

R language plugin for IntelliJ platform.
MIT License
18 stars 6 forks source link

Can not create R only project #36

Open AkihaTohno opened 7 years ago

AkihaTohno commented 7 years ago

At Intellij IDEA 2016.2.5(Community Edition),I can not create R only Project. How can I do it?

R Env Microsoft R Open 3.3.1 Windows10 64bit/openSUSE Tunbleweed

ktisha commented 7 years ago

You could use Empty Project and then create new *.R file inside the project. image

AkihaTohno commented 7 years ago

But, I could not create new R source file. Because intellJ IDEA request module setting. How can I do?

ktisha commented 7 years ago

Oh, I see. Empty project is designed "to create free-style module structure". After you add at least one module with at least one content root, you can create files there. Otherwise IDEA doesn't know where to create files.

I'd suggest you go to the File->Project Structure->Modules and use "Import Module" pointing at the Project Root screenshot from 2016-11-24 16-11-03

AkihaTohno commented 7 years ago

Thanks a lot.

Well,Witch file can I import? R plugin generated some xml files,I tried to import them,but failed. How can I do?

ktisha commented 7 years ago

I specified project root directory in the appeared dialog.