Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

[SOLVED] Relative Repository

ziszis Member Posts: 22 Contributor II
edited November 2018 in Help
Hi,

I have a question. Is any way how to get a Repository by relative path?

For example:

I have a project PR1 and a want to create repository here - PR1/Repo, I will create a Process with Store operator and I want to store data to the repository.

If I use GUI, it wants a absolute path. So is any way how I can change this absolute path to relative in code (or through RapidMiner class)?

(Idea is, using process with Store operator in my Project without creating new repository through GUI. Project using only rapidminer.jar)

Thanks for ideas,
Regards
John
Tagged:

Answers

  • ziszis Member Posts: 22 Contributor II
    Ok,

    I found a solution RepositoryManager.getInstance(null).addRepository(new LocalRepository("MyRepo", new File("path")));

    Regards,
    John
Sign In or Register to comment.